﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;

namespace Mota.EditModule
{
    public class AndStatement:IStatement
    {
        private IStatement first;
        private IStatement second;

        public AndStatement(IStatement first,IStatement second)
        {
            this.first = first;
            this.second = second;
        }

        public override string ToString()
        {
            return String.Format(" ( {0} ) AND ( {1} ) ", first, second);
        }
    }
}
